package com.gjs.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gjs.management.pojo.entity.SysPermission;
import com.gjs.management.pojo.entity.SysRole;
import com.gjs.management.pojo.entity.SysRolePermission;

import java.util.List;
import java.util.Set;

public interface ISysRolePermissionService extends IService<SysRolePermission> {
    List<SysPermission> getPermissionListByRoleId(Long id);

    Boolean saveByPermissionKeySet(SysRole role, Set<String> permissionKeySet);
}
